<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">	
    <head> 
        <title>FlexPaper</title>         
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <style type="text/css" media="screen"> 
			
        </style> 
		<script type="text/javascript" src="../js/jquery.js"></script>
		<script type="text/javascript" src="../flexpaper/flexpaper_flash.js"></script>
		<script type="text/javascript" src="../extjs/adapter/ext/ext-base.js"></script>
		<script type="text/javascript" src="../extjs/ext-all-debug.js"></script>
    </head> 
    <body> 
    	<div style="position:absolute;left:10px;top:10px;">
	        <a id="viewerPlaceHolder" style="width:1080px;height:680px;display:block"></a>
	        
	        <script type="text/javascript"> 
	        	
	        
	        	function getParam(name){
	        		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
	        		var r = window.location.search.substr(1).match(reg);
	        		if(r != null)
	        			return decodeURI(unescape(r[2]));
	        		return null;
	        	}
			 	        	
	        		
	        		var fp = new FlexPaperViewer(	
						 '../flexpaper/FlexPaperViewer',
						 'viewerPlaceHolder', { config : {
						 SwfFile : escape("../flexpaper/swfFile/tmp.swf"),
						 Scale : 0.6, 
						 ZoomTransition : 'easeOut',
						 ZoomTime : 0.5,
						 ZoomInterval : 0.2,
						 FitPageOnLoad : false,
						 FitWidthOnLoad : true,
						 FullScreenAsMaxWindow : false,
						 ProgressiveLoading : false,
						 MinZoomSize : 0.2,
						 MaxZoomSize : 5,
						 SearchMatchAll : true,
						 InitViewMode : 'Portrait',
						 
						 ViewModeToolsVisible : true,
						 ZoomToolsVisible : true,
						 NavToolsVisible : true,
						 CursorToolsVisible : true,
						 SearchToolsVisible : true,
  						
  						 localeChain: 'en_US'
						 }});
						 
						 
						 function onDocumentLoaded(totalPages){
						 	//$FlexPaper().searchText('UK');
						 }
	        	
	        	
	        </script>
	        
	           
        </div>
        
        
		
   </body> 
</html> 